package net.zozoo.ioc.di;

public class Book {
    private String bName;
    private String bAuthor;

    private String author;

    public Book() {
    }

    public Book(String bName, String bAuthor) {
        System.out.println("有参构造器");
        this.bName = bName;
        this.bAuthor = bAuthor;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public String getbAuthor() {
        return bAuthor;
    }

    public void setbAuthor(String bAuthor) {
        this.bAuthor = bAuthor;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bName='" + bName + '\'' +
                ", bAuthor='" + bAuthor + '\'' +
                ", author='" + author + '\'' +
                '}';
    }
}
